package com.wuyan.locationdog.adapter

import android.widget.TextView
import androidx.annotation.LayoutRes
import com.arcsoft.commonbase.bean.DeviceBeanContent
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.wuyan.locationdog.R


class DeviceListSetPwdAdapter(@LayoutRes layoutResId: Int, data: MutableList<DeviceBeanContent>?) :
    BaseQuickAdapter<DeviceBeanContent, BaseViewHolder>(layoutResId, data) {

    override fun convert(holder: BaseViewHolder, item: DeviceBeanContent) {
        holder.apply {

            getView<TextView>(R.id.deviceName).text = item.deviceName

            getView<TextView>(R.id.imei).text = "设备ID：" + item.imei
        }
    }
}


